﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataModels.Enumerations
{
    /// <summary>
    /// Different data access methods
    /// </summary>
    public enum DataAccessMethod
    {
        /// <summary>
        /// Direct Access to datasource
        /// </summary>
        DIRECT_ACCESS = 0,

        /// <summary>
        /// Retrieve data through web services
        /// </summary>
        WEB_SERVICES = 1,

        /// <summary>
        /// Retrieve data through local cache file [in this case MS Access Database]
        /// </summary>
        OFFLINE_DATA_ACCESS = 2,

        /// <summary>
        /// Retrieve data through local caching SQL server
        /// </summary>
        OFFLINE_DIRECT_ACCESS = 3
    }


    /// <summary>
    /// Type of caching database
    /// </summary>
    public enum CacheDB
    {
        /// <summary>
        /// Microsoft SQL Server
        /// </summary>
        SQL_SERVER = 0,

        /// <summary>
        /// Microsoft Access Database
        /// </summary>
        MS_ACCESS = 1
    }
}
